home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 476-500 / disk_498 / zoomdaemon / source / zoom-image.c < prev    next >
C/C++ Source or Header  |  1992-05-06  |  1KB  |  77 lines

  1. /*
  2.  *  ZOOM-DAEMON   A program that implements Zoom gadgets for all Intuition
  3.  *                windows that are opened while it is running.
  4.  *
  5.  *              Copyright 1989 by Davide P. Cervone.
  6.  *  You may use this code, provided this copyright notice is kept intact.
  7.  */
  8.  
  9. #define  INTUITION_PREFERENCES_H            /* don't need 'em */
  10. #include <intuition/intuition.h>
  11. #include "Zoom-Daemon.h"
  12.  
  13. /*
  14.  *  The Image data for the HIRES ZoomGadget
  15.  */
  16.  
  17. USHORT ZoomData[ZOOMDEPTH][ZOOMHEIGHT*ZOOMWORDS] =
  18. {
  19.   {
  20.     0xF3FF, 0xFFE0,
  21.     0xF300, 0x0060,
  22.     0xF31F, 0xC060,
  23.     0xF31F, 0xC060,
  24.     0xF31F, 0xC060,
  25.     0xF31F, 0xC060,
  26.     0xF300, 0x0060,
  27.     0xF300, 0x0060,
  28.     0xF300, 0x0060,
  29.     0xF3FF, 0xFFE0,
  30.   },
  31.   {
  32.     0x0000, 0x0000,
  33.     0x00FF, 0xFF80,
  34.     0x00E0, 0x3F80,
  35.     0x00E0, 0x3F80,
  36.     0x00E0, 0x3F80,
  37.     0x00E0, 0x3F80,
  38.     0x00FF, 0xFF80,
  39.     0x00FF, 0xFF80,
  40.     0x00FF, 0xFF80,
  41.     0x0000, 0x0000,
  42.   },
  43. };
  44.  
  45.  
  46. /*
  47.  *  The Image data for the LOWRES ZoomGadget
  48.  */
  49.  
  50. USHORT LR_ZoomData[LRZOOMDEPTH][LRZOOMHEIGHT*LRZOOMWORDS] =
  51. {
  52.   {
  53.     0xCFFF, 0xE000,
  54.     0xC800, 0x2000,
  55.     0xC9F8, 0x2000,
  56.     0xC9F8, 0x2000,
  57.     0xC9F8, 0x2000,
  58.     0xC9F8, 0x2000,
  59.     0xC800, 0x2000,
  60.     0xC800, 0x2000,
  61.     0xC800, 0x2000,
  62.     0xCFFF, 0xE000,
  63.   },
  64.   {
  65.     0x0000, 0x0000,
  66.     0x07FF, 0xC000,
  67.     0x0607, 0xC000,
  68.     0x0607, 0xC000,
  69.     0x0607, 0xC000,
  70.     0x0607, 0xC000,
  71.     0x07FF, 0xC000,
  72.     0x07FF, 0xC000,
  73.     0x07FF, 0xC000,
  74.     0x0000, 0x0000,
  75.   },
  76. };
  77.